//
//  YCAlertView.h
//  YCSchool
//
//  Created by gmall on 16/5/16.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^YCAlertViewClickButtonAtIndexBlock)(NSInteger buttonIndex);

@interface YCAlertView : UIAlertView

- (instancetype)initWithTitle:(NSString *)title message:(NSString *)msg cancelButtonTitle:(NSString *)cancelTitle otherButtonTitles:(NSArray *)otherButtonTitles clickButtonAtIndexBlock:(YCAlertViewClickButtonAtIndexBlock)clickButtonAtIndexBlock;
+ (void)showMsg:(NSString *)msg;

@end
